package com.onlineclass.classserver.service.impl;

import com.onlineclass.beas.Course;
import com.onlineclass.classserver.mapper.recommendmapper;
import com.onlineclass.classserver.service.Irecommendservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class recommendservice implements Irecommendservice {
    @Autowired
    recommendmapper recommendmapper;

    @Override
    public List<Course> selectrecommendedcourses() {
        return recommendmapper.selectrecommendmapper();
    }
}
